﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.Threading;


using ZhimeiSoft.CharmManager.Client.App;

namespace CharmManager
{
    static class Program
    {

        static Mutex mutx;
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            bool isCreate = false;
            mutx = new Mutex(false, "智美预约", out isCreate);
            if (!isCreate)
            {
                MessageBox.Show("智美预约已经运行。");
                return;
            }

            CharmManagerApp zmApp = new CharmManagerApp();
            if (args.Length == 0)
            {
                zmApp.Run();
            }
        }
    }
}
